package com.itheima.test31;

public class test {
    public static void main(String[] args) {

        JavaTeacher javaTeacher = new JavaTeacher("张三",true,25);

        UiTeacher uiTeacher = new UiTeacher("李四", false, 19);

        javaTeacher.work();

        uiTeacher.work();
        uiTeacher.painting();
    }
}
